package com.qkjia.day02;
//饿汉式 绝对线程安全 而且最简单
public class Test01_Singleton01 {
    private Test01_Singleton01(){
    }
    private static Test01_Singleton01 instance=new Test01_Singleton01();
    public static Test01_Singleton01 getInstance(){
        return instance;
    }
}
